package routes

import (
	"github.com/gin-gonic/gin"
	"kubequant/api/service"
)

func InitRouter(r *gin.Engine) {
	//通用路由组
	common := r.Group("/common")
	common.POST("/add_app/*name", service.AddApp)
	common.POST("/init_engine/*name", service.InitEngine)

	//初始化cta路由组
	cta := r.Group("/cta")
	cta.GET("/get_strategy_groups", service.GetCtaStrategyGroups)
}
